package com.samuel.blog.entity;

import java.io.Serializable;
import java.util.Date;

public class CommentEntity implements Serializable {
	
	private static final long serialVersionUID = 2590236518611719532L;

	private String commentId;

    private String authorId; // 评论文章的人 路人甲
    private AuthorEntity authorEntity;
    
    private String articleId;
    private ArticleEntity articleEntity;
    
    private Integer sort;  // 0,1,2,3 asc 排序
    
    private Integer deleteStatus;  // 0: 审核通过 1：待审核 2： 审核失败
    
    private String failMsg; // 审核失败原因

    private String checkId; // 审核人
    private AuthorEntity checkUser;
    
    private Date createDate;

    private Date modifyDate;

    private String content;		// 评论内容
    
    private String replyAuthorId;
    private AuthorEntity replyAuthor; // 回复人


	public String getCommentId() {
		return commentId;
	}


	public void setCommentId(String commentId) {
		this.commentId = commentId;
	}


	public String getAuthorId() {
		return authorId;
	}


	public void setAuthorId(String authorId) {
		this.authorId = authorId;
	}


	public AuthorEntity getAuthorEntity() {
		return authorEntity;
	}


	public void setAuthorEntity(AuthorEntity authorEntity) {
		this.authorEntity = authorEntity;
	}


	public String getArticleId() {
		return articleId;
	}


	public void setArticleId(String articleId) {
		this.articleId = articleId;
	}


	public ArticleEntity getArticleEntity() {
		return articleEntity;
	}


	public void setArticleEntity(ArticleEntity articleEntity) {
		this.articleEntity = articleEntity;
	}


	public Integer getSort() {
		return sort;
	}


	public void setSort(Integer sort) {
		this.sort = sort;
	}


	public Integer getDeleteStatus() {
		return deleteStatus;
	}


	public void setDeleteStatus(Integer deleteStatus) {
		this.deleteStatus = deleteStatus;
	}


	public String getFailMsg() {
		return failMsg;
	}


	public void setFailMsg(String failMsg) {
		this.failMsg = failMsg;
	}


	public String getCheckId() {
		return checkId;
	}


	public void setCheckId(String checkId) {
		this.checkId = checkId;
	}


	public AuthorEntity getCheckUser() {
		return checkUser;
	}


	public void setCheckUser(AuthorEntity checkUser) {
		this.checkUser = checkUser;
	}


	public Date getCreateDate() {
		return createDate;
	}


	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}


	public Date getModifyDate() {
		return modifyDate;
	}


	public void setModifyDate(Date modifyDate) {
		this.modifyDate = modifyDate;
	}


	public String getContent() {
		return content;
	}


	public void setContent(String content) {
		this.content = content;
	}


	public AuthorEntity getReplyAuthor() {
		return replyAuthor;
	}


	public void setReplyAuthor(AuthorEntity replyAuthor) {
		this.replyAuthor = replyAuthor;
	}


	public String getReplyAuthorId() {
		return replyAuthorId;
	}


	public void setReplyAuthorId(String replyAuthorId) {
		this.replyAuthorId = replyAuthorId;
	}

}